<div class="main">
    <div class="leftcolumn">
        <div class="bxdetail">
            <h2 class="tleprocategories"><span>TIN TỨC & SỰ KIỆN</span></h2>
            <div class="listnews">
                <?php if ($project): ?>
                    <ul>
                        <?php
                        foreach ($project as $key => $value):
                            if ($key == 0):
                                ?>
                                <li>
                                    <img alt="<?= $value['name'] ?>" src="<?= Yii::app()->baseUrl ?>/timthumb.php?src=<?= Yii::app()->baseUrl ?>/data/cover/<?= $value['cover_image'] ?>&h=250&w=350"/>
                                    <a href="<?= Yii::app()->baseUrl ?>/tin-tuc-su-kien/<?= $value['slug'] ?>.html">
            <?= $value['name'] ?></a>
                                    <span><?= $value['short_description'] ?></span>
                                </li>
        <?php else: ?>
                                <li>
                                    <img alt="<?= $value['name'] ?>" src="<?= Yii::app()->baseUrl ?>/timthumb.php?src=<?= Yii::app()->baseUrl ?>/data/cover/<?= $value['cover_image'] ?>&h=125&w=180"/>
                                    <a href="<?= Yii::app()->baseUrl ?>/tin-tuc-su-kien/<?= $value['slug'] ?>.html">
                                        <?= $value['name'] ?></a>
                                    <span><?= $value['short_description'] ?></span>
                                </li>
                            <?php
                            endif;
                        endforeach;
                        ?>
                    </ul>
<?php endif; ?>
            </div>
        </div>
    </div>

<?php $this->widget('SidebarWidget'); ?>
</div>